global work	"INSERT DIRECTORY HERE"
cd ${work}


* FOR CONSTRUCTING TABLES AND FIGURES
qui do 0b_appendmodels.do
set scheme plotplain


* DEFLATION BASED ON GDP PRICE INDEX
cap program drop deflate
program deflate

syntax varlist

foreach v of local varlist {
	replace `v'=`v'/.8111 if year==2001
	replace `v'=`v'/.8301 if year==2002
	replace `v'=`v'/.8425 if year==2003
	replace `v'=`v'/.8601 if year==2004
	replace `v'=`v'/.8850 if year==2005
	replace `v'=`v'/.9034 if year==2006
	replace `v'=`v'/.9254 if year==2007
	replace `v'=`v'/.9637 if year==2008
	replace `v'=`v'/.9687 if year==2009
	replace `v'=`v'/1.0000 if year==2010
	replace `v'=`v'/1.0064 if year==2011
	replace `v'=`v'/1.0303 if year==2012
	replace `v'=`v'/1.0394 if year==2013
	replace `v'=`v'/1.0502 if year==2014
	replace `v'=`v'/1.0547 if year==2015
}

end